#import "BalloonZestView.h"


@implementation BalloonZestView



- (void)setZeal:(BalloonZestModel *)zeal {
	_zeal = zeal;

	//: 配置cell的UI

	NSString *glimpsePrism = [NSString stringWithFormat:@"%ld", zeal.lanternEmbarkEnigma];
	self.gratitudeHammerLabel.text = glimpsePrism;

	self.rippleLabel.text = [zeal.yonder stringValue];

}
//: _wonderBtn 的点击事件
- (void)action_2 {}

- (UIButton *)wonderBtn {
	if (!_wonderBtn) {
	
        _wonderBtn = [UIButton new];
        _wonderBtn.frame = CGRectMake(16, 48, 160, 164);
        UIImage *oasis = [UIImage imageNamed:@"images/icon_2.png"];
        if (oasis) {
	        [_wonderBtn setImage:oasis forState:UIControlStateNormal];
        }
        [_wonderBtn setTitle:@"button_2" forState:UIControlStateNormal];
        [_wonderBtn setTitle:@"button_selected_2" forState:UIControlStateSelected];
        [_wonderBtn setTitleColor:[UIColor colorWithRed:148/255.0 green:34/255.0 blue:178/255.0 alpha:0.6] forState:UIControlStateNormal];
        [_wonderBtn setTitleColor:[UIColor colorWithRed:225/255.0 green:87/255.0 blue:91/255.0 alpha:0.8] forState:UIControlStateSelected];
        [_wonderBtn addTarget:self action:@selector(action_2) forControlEvents:UIControlEventTouchUpInside];
	}
	return _wonderBtn;
}

//: xeroxQuake 的点击事件
- (void)action_4 {}

- (UITextField *)hazeRadiateTextField {
	if (!_hazeRadiateTextField) {
	
        _hazeRadiateTextField = [[UITextField alloc] init];
        _hazeRadiateTextField.size = CGSizeMake(50, 42);
        _hazeRadiateTextField.left = 46;
        _hazeRadiateTextField.top = 17;
	}
	return _hazeRadiateTextField;
}

//: self.feastUpliftButton 的点击事件
- (void)action_7 {}

- (UILabel *)rippleLabel {
	if (!_rippleLabel) {
	
        _rippleLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _rippleLabel.text = @"label_8";
        _rippleLabel.font = [UIFont systemFontOfSize:15 weight:UIFontWeightBold];
        _rippleLabel.textColor = [UIColor colorWithRed:38/255.0 green:165/255.0 blue:89/255.0 alpha:1.0];
        _rippleLabel.textAlignment = NSTextAlignmentLeft;
        _rippleLabel.numberOfLines = 3;
	}
	return _rippleLabel;
}

- (void)zestfulOracleInitUI {

    //: 描述_0
    self.suspicionJellyLabel = [UILabel new];
    self.suspicionJellyLabel.text = @"label_0";
    self.suspicionJellyLabel.font = [UIFont systemFontOfSize:19 weight:UIFontWeightBold];
    self.suspicionJellyLabel.textColor = [UIColor colorWithRed:109/255.0 green:179/255.0 blue:249/255.0 alpha:1.0];
    self.suspicionJellyLabel.textAlignment = NSTextAlignmentCenter;
    self.suspicionJellyLabel.numberOfLines = 0;
    [self addSubview:self.suspicionJellyLabel];
	[self.suspicionJellyLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(143);
		make.height.mas_equalTo(73);
		make.top.equalTo(@(23));
	}];


    //: 描述_1
    UITextView *horizonNostalgia = [[UITextView alloc] init];
    horizonNostalgia.frame = CGRectMake(48, 15, 175, 77);
    self.joyousQuestTextView = horizonNostalgia;
    [self addSubview:horizonNostalgia];

	//: 描述_2
	[self addSubview:self.wonderBtn];


    //: 描述_3
    self.wonderNavigateCuriousView = [[UIView alloc] init];
    [self addSubview:self.wonderNavigateCuriousView];
	[self.wonderNavigateCuriousView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(159);
		make.height.mas_equalTo(63);
		make.bottom.equalTo(@(15));
	}];


    //: 描述_4
    UIButton *xeroxQuake = [[UIButton alloc] initWithFrame:CGRectZero];
    UIImage *motionPrism = [UIImage imageNamed:@"images/icon_4.png"];
    if (motionPrism) {
	    [xeroxQuake setImage:motionPrism forState:UIControlStateNormal];
    }
    [xeroxQuake setTitle:@"button_4" forState:UIControlStateNormal];
    [xeroxQuake setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [xeroxQuake setTitleColor:[UIColor colorWithRed:104/255.0 green:181/255.0 blue:39/255.0 alpha:0.7] forState:UIControlStateNormal];
    [xeroxQuake setTitleColor:[UIColor colorWithRed:202/255.0 green:216/255.0 blue:82/255.0 alpha:0.8] forState:UIControlStateSelected];
    [xeroxQuake addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    self.melodyKaleidoscopeBtn = xeroxQuake;
    [self addSubview:xeroxQuake];
	[self.melodyKaleidoscopeBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(69);
		make.height.mas_equalTo(121);
		make.bottom.equalTo(@(29));
	}];


    //: 描述_5
    UILabel *yarnXeroxPerceptive = [[UILabel alloc] init];
    yarnXeroxPerceptive.text = @"label_5";
    yarnXeroxPerceptive.font = [UIFont systemFontOfSize:19 weight:UIFontWeightMedium];
    yarnXeroxPerceptive.textColor = [UIColor colorWithRed:157/255.0 green:137/255.0 blue:23/255.0 alpha:0.8];
    yarnXeroxPerceptive.textAlignment = NSTextAlignmentRight;
    yarnXeroxPerceptive.numberOfLines = 3;
    self.gratitudeHammerLabel = yarnXeroxPerceptive;
    [self addSubview:yarnXeroxPerceptive];
	[self.gratitudeHammerLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(146);
		make.height.mas_equalTo(134);
		make.top.equalTo(@(12));
	}];

	//: 描述_6
	[self addSubview:self.hazeRadiateTextField];


    //: 描述_7
    self.feastUpliftButton = [UIButton new];
    self.feastUpliftButton.size = CGSizeMake(87, 93);
    self.feastUpliftButton.left = 22;
    self.feastUpliftButton.top = 6;
    UIImage *elusiveHoverDreamscape = [UIImage imageNamed:@"images/icon_7.png"];
    if (elusiveHoverDreamscape) {
	    [self.feastUpliftButton setImage:elusiveHoverDreamscape forState:UIControlStateNormal];
    }
    [self.feastUpliftButton setTitle:@"button_7" forState:UIControlStateNormal];
    [self.feastUpliftButton setTitle:@"button_selected_7" forState:UIControlStateSelected];
    [self.feastUpliftButton setTitleColor:[UIColor colorWithRed:16/255.0 green:142/255.0 blue:32/255.0 alpha:0.6] forState:UIControlStateNormal];
    [self.feastUpliftButton setTitleColor:[UIColor colorWithRed:137/255.0 green:32/255.0 blue:114/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.feastUpliftButton addTarget:self action:@selector(action_7) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.feastUpliftButton];

	//: 描述_8
	[self addSubview:self.rippleLabel];
	[self.rippleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(35);
		make.height.mas_equalTo(175);
	}];
}


@end